package com.lbssoft.gpsbd.model;

import javax.validation.constraints.NotNull;


public class Geofence {

	private long id;
	
	@NotNull(message = "名字不能为空")
	private String name;
	
	@NotNull(message = "类型不能为空")
	private String type;
	
	@NotNull(message = "区域不能为空")
	private String area;
	
	private String description;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	private String uuid;

	public String getUuid() {
		return uuid;
	}

	public void setUuid(String uuid) {
		this.uuid = uuid;
	}
	
}
